package com.qr.dao.impl;

import com.qr.dao.IAccountDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

//持久层表示
@Repository
public class AccountDaoImpl implements IAccountDao {
    @Value(value = "张三")
    private String name;

    @Value(value = "12")
    private Integer age;

    @Override
    public void saveAccount() {
        System.out.println(name);
        System.out.println(age);
        System.out.println("持久层保存账户");
    }

}
